﻿using System;

namespace NSuggest.Jsonp.Core
{
    public class ErrorEventArgs : EventArgs
    {
        public ErrorEventArgs(Exception exception, int httpStatusCode)
        {
            Exception = exception;
            HttpStatusCode = httpStatusCode;
        }

        public Exception Exception { get; private set; }

        public int HttpStatusCode { get; private set; }
    }
}
